﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ArtsShop.DataLayer.DataAccess;
using System.Data;

namespace ArtsShop.DataLayer.DataObject
{
    public class Category
    {
        public int _categoryId;
        public string _name;
        public int _active;

        public Category()
        {
        }


        #region Properties

        public int CategoryId
        {
            get { return _categoryId; }
            set { _categoryId = value; }
        }

        public string CategoryName
        {
            get { return _name; }
            set { _name = value; }
        }

        public int Active
        {
            get { return _active; }
            set { _active = value; }
        }

        #endregion

        #region accessMethod
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        /* public static Category getByName(string name)
         {
             CategoryDAO c=  new CategoryDAO()
             c.getAllCats();

             return data;
         }
         */
        #endregion
    }
}
